package com.lgd.factoryattendance.httpService.httpPort;
import java.util.Map;

public interface IHttpHelper {

    void get(String url, com.lgd.factoryattendance.httpService.httpPort.IResponse response);
    /**
     * GET请求，返回字符串
     * @param url
     * @param map
     * @param response
     */

//    void getB(String url, Object obj, com.example.projectmanagement.httpService.httpPort.IStringResponse response);

    void get(String url, Map<String, Object> map, com.lgd.factoryattendance.httpService.httpPort.IStringResponse response);

    /**
     * POST请求，返回字符串
     * @param url
     * @param obj
     * @param response
     */
    void post(String url, Object obj, com.lgd.factoryattendance.httpService.httpPort.IStringResponse response);

    /**
     *  GET请求，返回Normalresponse
     * @param url
     * @param map
     * @param response
     */
    void getnp(String url, Map<String, Object> map, com.lgd.factoryattendance.httpService.httpPort.INpResponse response);

    /**
     * POST请求，返回Normalresponse
     * @param url
     * @param obj
     * @param response
     */
    void postnp(String url, Object obj, com.lgd.factoryattendance.httpService.httpPort.INpResponse response);

    //   上传 图片
    void Fife(String url, String path, com.lgd.factoryattendance.httpService.httpPort.IStringResponse response);

}
